package com.sj.controller;

import com.sj.service.BlogService;
import com.sj.utils.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * User: xiaoqi
 * Date: 2021-08-02
 * Time: 上午 10:54
 * Description: 引入常用属性父类Controller
 * @author xiaoqi
 */
@RestController
public class BaseController {

    @Autowired
    protected RedisUtil redisUtil;

    @Autowired
    protected BlogService blogService;

}